package com.example.mapp;

import com.example.entity.InfoAttachment;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

/**
 * Created by simon on 2018/3/21.
 */
@Mapper
public interface InfoAttachmentMapp {

    @Select(" select info_name,urls,info_type_id from info_attachment  where party_type_id=#{partyTypeId} and info_type_id=#{infoTypeId}")
    List<InfoAttachment> queryByType(Map obj) throws Exception;

}
